#pragma warning disable 108
using System;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using Cephei;
using Cephei.Core;
using Cephei.Core.Generic;
using Microsoft.FSharp.Core;
using Cephei.QL;
using Cephei.QL.Times;
using Cephei.QL.Indexes;
namespace Cephei.QL.Cashflows
{
    /// <summary> 
	/// ! helper class building a sequence of range-accrual floating-rate coupons
	/// </summary>
    [Guid ("46F48F2F-C952-48bd-9E48-1FB8222A87A5"),ComVisible(true)]
	public interface IRangeAccrualLeg 
	{
		///////////////////////////////////////////////////////////////
        // Methods
        //
        /// <summary> 
		/// 
		/// </summary>
		 Cephei.QL.Cashflows.IRangeAccrualLeg WithFixingDays(Cephei.Core.IVector<UInt32> fixingDays);
        /// <summary> 
		/// 
		/// </summary>
		 Cephei.QL.Cashflows.IRangeAccrualLeg WithGearings(Cephei.Core.IVector<Double> gearings);
        /// <summary> 
		/// 
		/// </summary>
		 Cephei.QL.Cashflows.IRangeAccrualLeg WithLowerTriggers(Cephei.Core.IVector<Double> triggers);
        /// <summary> 
		/// 
		/// </summary>
		 Cephei.QL.Cashflows.IRangeAccrualLeg WithNotionals(Cephei.Core.IVector<Double> notionals);
        /// <summary> 
		/// 
		/// </summary>
		 Cephei.QL.Cashflows.IRangeAccrualLeg WithObservationConvention(QL.Times.BusinessDayConventionEnum convention);
        /// <summary> 
		/// 
		/// </summary>
		 Cephei.QL.Cashflows.IRangeAccrualLeg WithObservationTenor(Cephei.QL.Times.IPeriod tenor);
        /// <summary> 
		/// 
		/// </summary>
		 Cephei.QL.Cashflows.IRangeAccrualLeg WithPaymentAdjustment(QL.Times.BusinessDayConventionEnum convention);
        /// <summary> 
		/// 
		/// </summary>
		 Cephei.QL.Cashflows.IRangeAccrualLeg WithPaymentDayCounter(Cephei.QL.Times.IDayCounter dayCounter);
        /// <summary> 
		/// 
		/// </summary>
		 Cephei.QL.Cashflows.IRangeAccrualLeg WithSpreads(Cephei.Core.IVector<Double> spreads);
        /// <summary> 
		/// 
		/// </summary>
		 Cephei.QL.Cashflows.IRangeAccrualLeg WithUpperTriggers(Cephei.Core.IVector<Double> triggers);
    }   

    /// <summary> 
	/// ! helper class building a sequence of range-accrual floating-rate coupons Factory
	/// </summary>
   	[ComVisible(true)]
    public interface IRangeAccrualLeg_Factory 
    {
        ///////////////////////////////////////////////////////////////
        // Factory methods
        //
        /// <summary> 
		/// 
		/// </summary>
	    IRangeAccrualLeg Create (Cephei.QL.Times.ISchedule schedule, Cephei.QL.Indexes.IIborIndex index);
    }
}

